#include<iostream>
using namespace std;
int main()
{
	int a,b,d;
	char c;
	cin>>a>>b>>c;
	if(b==0)
	cout<<"Divided by zero!";
	else 
	{
	 if(c=='+')
	 cout<<a+b;
	 else if(c=='-')
	 cout<<a-b;
	 else if(c=='*')
	 cout<<a*b;
	 else if(c=='/')
	 cout<<a/b;
	 else
	 cout<<"Invalid operator!";
	}
	return 0; 
	
	
 } 
